package bean;

public class OrderItemBean {
	// nid NUMBER not null,
	// norderid number,
	// nmcid number,
	// ncount number,
	// ntotalprice number,
	// constraint PK_T_ORDER_ITEM primary key (nid)
	private long nid;
	private long norderid;
	private int nmcid;
	private int ncount;
	private Double ntotalprice;
	public OrderItemBean() {
	}
	public OrderItemBean(long nid, long norderid, int nmcid, int ncount,
			Double ntotalprice) {
		super();
		this.nid = nid;
		this.norderid = norderid;
		this.nmcid = nmcid;
		this.ncount = ncount;
		this.ntotalprice = ntotalprice;
	}
	public long getNid() {
		return nid;
	}
	public void setNid(long nid) {
		this.nid = nid;
	}
	public long getNorderid() {
		return norderid;
	}
	public void setNorderid(long norderid) {
		this.norderid = norderid;
	}
	public int getNmcid() {
		return nmcid;
	}
	public void setNmcid(int nmcid) {
		this.nmcid = nmcid;
	}
	public int getNcount() {
		return ncount;
	}
	public void setNcount(int ncount) {
		this.ncount = ncount;
	}
	public Double getNtotalprice() {
		return ntotalprice;
	}
	public void setNtotalprice(Double ntotalprice) {
		this.ntotalprice = ntotalprice;
	}
	@Override
	public String toString() {
		return "orderitem:["+nid+","+norderid+","+nmcid+","+ncount+","+ntotalprice;
	}
}
